import { NAMESPACE } from "@/constant"
export const useStyle = () => {
  // 宽度
  const width = (value: string) => (value ? { width: value } : {})
  // 对齐
  const align = (value: string) => (value ? { "text-align": value } : {})
  // 行间距
  const rowGap = (value: number) => (value ? { "row-gap": value + "px" } : {})
  return {
    rowGap,
    width,
    align,
  }
}
